<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <rich:panel>
            <table cellpadding="10">
                <tr>
                    <!--<td valign="middle" align="center"   style="background-color: #EFDBC2;" colspan="3"><a4j:commandButton value="Tipp des Tages anzeigen"/></td>-->
                    <td rowspan="4" width="30%"><rich:panel header="Tipp des Tages">
                            <p>
                                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                                <br/><i>von Max Mustermann</i>
                            </p>

                        </rich:panel></td>
                </tr>
                <tr style="background-color: #FFF5E8;">
                    <td>
                        Scrumprojekt
                        <h:selectOneMenu>
                            <f:selectItems value="#{scrumprojektController.itemsAvailableSelectOne}"/>
                        </h:selectOneMenu>
                    </td>
                    <td>Sprint
                    <h:selectOneMenu>
                        <f:selectItems value="#{sprintController.itemsAvailableSelectOne}"/>
                        </h:selectOneMenu></td>
                    <td>Scrumteam
                    <h:selectOneMenu>
                        <f:selectItems value="#{scrumteamController.itemsAvailableSelectOne}"/>
                        </h:selectOneMenu></td>
                </tr>
                <tr  style="background-color: #FFF5E8;">
                    <td><rich:panel header="Offene Tasks">
                            
                                <ul>
                                    <table>
                                        <tr><td>Name</td><td>Aufwand(h)</td><td>Priorität</td></tr>
                                        <tr><td><a4j:commandLink>Button erstellen</a4j:commandLink></td><td>1</td><td>4</td></tr>
                                        <tr><td><a4j:commandLink>Buttonfunktion erstellen</a4j:commandLink></td><td>1</td><td>3</td></tr>
                                        <tr><td><a4j:commandLink>Buttonanimation erstellen</a4j:commandLink></td><td>1</td><td>2</td></tr>
                                        <tr><td><a4j:commandLink>Buttonsound erstellen</a4j:commandLink></td><td>1</td><td>1</td></tr>
                                    </table>
                                </ul> 
                            <hr/>
                            Reststunden: 4
                        </rich:panel></td>
                    <td><rich:panel header="Genommene Tasks">
                            <ul>
                                    <table>
                                        <tr><td>Name</td><td>Aufwand(h)</td><td>Priorität</td><td>Aktion</td></tr>
                                        <tr><td><a4j:commandLink>Buttontemplate erstellen</a4j:commandLink></td><td>1</td><td>5</td><td><a4j:commandButton value="Einreichen"/></td></tr>
                                    </table>
                                </ul> 
                            <hr/>
                            Reststunden: 1
                        </rich:panel></td>
                    <td width="40%"><rich:panel header="Taskbeschreibung">
                            <p>
                                <h2>Buttonfunktion erstellen</h2><br/>
                                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                            </p>

                        </rich:panel></td>
                </tr>
                <tr>
                    <td  align="center"   style="background-color: #EFDBC2;" colspan="3">Gesamtkapazität : 40h, Genommene Kapazität 1h, Restkapazität 39h</td>
                </tr>
            </table>
        </rich:panel>
    </h:body>
</html>

